/*
 * Copyright © 2015 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

@import "../../styles/variables.less";
@import "../../styles/themes/cdap/mixins.less";
@import "../../../bower_components/bootstrap/less/mixins.less";

body.theme-cdap {
  my-program-status {
    .order(2);
    table.table-status {
      background-color: transparent;
      margin: 0;
      @media (max-width: @screen-sm-max) {
        border: 1px solid @table-border-color;
      }
      td {
        border-right: 1px solid @table-border-color;
        padding-right: 15px;
        padding-left: 15px;
        > span {
          display: block;
          &:first-child {
            font-weight: bold;
          }
        }
        &:not(:first-child) {
          > span:last-child {
            color: @program-text;
          }
        }
      }
    }
  }
  &.state-hydrator {
    my-program-status {
      .run-status { margin-bottom: 25px; }
      .table.table-status {
        margin-top: 0;
        background-color: #f6f6f6;
        border: 1px solid #ddd;
        .border-radius(8px);
      }
    }
  }
}
